Open
Conversation
This file outlines the Spec-Driven Development workflow using the speckit toolset, detailing the sequence of commands and core rules for implementation.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds OpenClaw as a first-class AI agent option in Specify CLI, updating agent configuration, release packaging, context update scripts, and user-facing docs so projects can be initialized with .openclaw/ structures.
Changes:
- Added
openclawto runtime agent configuration and documentation (README/AGENTS). - Extended release package generators (bash + PowerShell) to build OpenClaw skill-directory layouts.
- Updated agent-context update script to recognize
openclawand map it toAGENTS.md.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/specify_cli/__init__.py |
Registers openclaw in AGENT_CONFIG (folder + skills subdir + CLI requirement). |
templates/skill-file-template.md |
Adds a new SKILL.md template file (currently not referenced by code). |
templates/commands/skill.md |
Introduces a new template under templates/commands/ intended as a “Speckit skill” description. |
scripts/bash/update-agent-context.sh |
Adds openclaw option and maps it to AGENTS.md. |
.github/workflows/scripts/create-release-packages.sh |
Adds openclaw build variant and generates .openclaw/skills/<skill>/SKILL.md directories. |
.github/workflows/scripts/create-release-packages.ps1 |
PowerShell mirror of OpenClaw release packaging support. |
README.md |
Documents OpenClaw support, --ai openclaw, and tool checks. |
AGENTS.md |
Documents OpenClaw directory conventions and configuration fields. |
Comments suppressed due to low confidence (1)
templates/commands/skill.md:4
- PR description mentions a new
templates/SKILL.mdcopied to.openclaw/skills/speckit/SKILL.md, but the added file here istemplates/commands/skill.md(which will be packaged/installed as a normal command template). If the intent is a workspace-level OpenClaw skill manifest, it likely shouldn’t live undertemplates/commands/.
---
name: "speckit"
description: "Full Spec-Driven Development (SDD) workflow powered by github/spec-kit. Use speckit-specify to start a feature, then speckit-plan, speckit-tasks, and speckit-implement in sequence."
metadata:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+2
to
+7
| name: "speckit" | ||
| description: "Full Spec-Driven Development (SDD) workflow powered by github/spec-kit. Use speckit-specify to start a feature, then speckit-plan, speckit-tasks, and speckit-implement in sequence." | ||
| metadata: | ||
| author: "github-spec-kit" | ||
| source: "https://github.com/github/spec-kit" | ||
| version: "1.0.0" |
Comment on lines
+1
to
+12
| --- | ||
| name: "{SKILL_NAME}" | ||
| description: "{DESCRIPTION}" | ||
| compatibility: "Requires spec-kit project structure with .specify/ directory" | ||
| metadata: | ||
| author: "github-spec-kit" | ||
| source: "templates/commands/{COMMAND_NAME}.md" | ||
| --- | ||
|
|
||
| # Spec Kit {COMMAND_TITLE} Skill | ||
|
|
||
| {COMMAND_BODY} |
Comment on lines
+76
to
+77
| # AMP, Kiro CLI, IBM Bob, and OpenClaw all share AGENTS.md — use AGENTS_FILE to | ||
| # avoid updating the same file multiple times. |
mnriem
requested changes
Mar 16, 2026
Collaborator
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback. If not applicable, please explain why
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds full support for [OpenClaw](https://openclaw.ai) as a new AI agent in Specify CLI.
OpenClaw is a persistent AI agent daemon that connects to messaging platforms (Telegram, WhatsApp, Slack, etc.) and uses a skill-based architecture — skills are discovered as directories containing a
SKILL.mdfile under<workspace>/skills/, identical to the pattern used by Kimi Code.Files changed:
src/specify_cli/__init__.py— Added"openclaw"toAGENT_CONFIGwithfolder: ".openclaw/",commands_subdir: "skills",requires_cli: True,install_url: "https://openclaw.ai". Help text updates automatically via_build_ai_assistant_help()..github/workflows/scripts/create-release-packages.sh— AddedopenclawtoALL_AGENTSand newcreate_openclaw_skills()function that generates.openclaw/skills/speckit-<command>/SKILL.mdfiles with OpenClaw-compatible frontmatter..github/workflows/scripts/create-release-packages.ps1— Mirror of bash changes:New-OpenClawSkillsfunction,'openclaw'case inBuild-Variant,'openclaw'added to$AllAgents.scripts/bash/update-agent-context.sh— AddedOPENCLAW_FILE="$AGENTS_FILE"(OpenClaw readsAGENTS.mdfrom workspace root, same asamp,kiro-cli,bob), addedopenclaw)case inupdate_specific_agent()andupdate_if_newcall inupdate_all_existing_agents().AGENTS.md— Added OpenClaw to supported agents table, CLI-based agents list, Markdown format section, and directory conventions.README.md— Added OpenClaw to supported agents table,--aioption description,specify checktools list, and examples section.templates/SKILL.md— New workspace-level skill manifest copied to.openclaw/skills/speckit/SKILL.mdonspecify init --ai openclaw --ai-skills.templates/skill-file-template.md— New per-command SKILL.md template used byinstall_ai_skills(), following the existing*-template.mdnaming convention.Key design decisions:
--ai-skillsis the primary path for OpenClaw since it uses skill directories, not flat slash command filesspeckit-specify) vs Kimi Code's dot separator (speckit.specify)OPENCLAW_FILEpoints toAGENTS.md— the OpenClaw equivalent ofCLAUDE.mdfor Claude Codegenericremains last in all agent arraysTesting
uv run specify --helpuv sync && uv run pytestAI Disclosure
Implementation approach and file structure were developed with AI assistance (Claude). All code was manually reviewed, tested end-to-end, and verified against existing agent integration patterns before submission.